package c.e.b.m;

import c.e.b.m.l.c.a;
import c.e.b.m.l.d;

/* compiled from: GetIdListener */
public class h implements j {
    public final c.e.a.b.g.h<String> a;

    public h(c.e.a.b.g.h<String> hVar) {
        this.a = hVar;
    }

    public boolean a(d dVar, Exception exception) {
        return false;
    }

    public boolean b(d dVar) {
        if ((dVar.f() == a.UNREGISTERED ? 1 : null) == null) {
            if ((dVar.f() == a.REGISTERED ? 1 : null) == null && !dVar.h()) {
                return false;
            }
        }
        this.a.b(dVar.c());
        return true;
    }
}
